projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82a326
)
Add a helpful comment
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 31 Aug 2018 17:23:25 +0000
(13:23 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 31 Aug 2018 17:23:25 +0000
(13:23 -0400)
gtk/gtkprivate.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprivate.c
b/gtk/gtkprivate.c
index b8a34f32b55e256702382df1e7be2f76b86bf41b..58618508d33daf67f2ff2c9330f3d7ee874f8d2f 100644
(file)
--- a/
gtk/gtkprivate.c
+++ b/
gtk/gtkprivate.c
@@
-302,6
+302,7
@@
get_portal_path (GDBusConnection *connection,
char *path;
*token = g_strdup_printf ("gtk%d", g_random_int_range (0, G_MAXINT));
+ /* +1 to skip the leading : */
sender = g_strdup (g_dbus_connection_get_unique_name (connection) + 1);
for (i = 0; sender[i]; i++)
if (sender[i] == '.')